package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.vo.LoginInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 杨杰
 * @version V1.0
 * @Package com.cskaoyan.bean
 * @date 2020/12/9 17:20
 * @Copyright © 暂时还没有
 * @description
 */
@Data
public class LoginInfoBean {
    private LoginInfo userInfo;
    @DateTimeFormat(pattern = "yy-MM-dd")
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date tokenExpire;
    private String token;

}
